package service;

import entity.Commodity;

import java.util.List;
import java.util.Map;

public interface CommodityService {
    public List<Commodity> list();
    public int count(Commodity commodity) ;
    public List<Commodity> queryByName(Map<String,Object> map) ;



    /*查询商品表*/
    public List<Commodity> QqueryList(Map<String,Object> map);




    public int chanumber();

    public Commodity cha(Commodity commodity);

    public int add(Commodity commodity);

    public int upd(Commodity commodity);

    public int upd2(Commodity commodity);


    public Commodity chanumber1(String number);

}
